package com.jjkj.environmental.environmental.bean.model

import com.jjkj.environmental.environmental.utils.Setting
import com.jjkj.environmental.environmental.utils.XmlTagName

@XmlTagName("vehispara")
class CheckInfoUpload(carInfo: CarInfo, checkInfo: CheckInfo) {
    @XmlTagName("xzqhdm")
    var xzqhdm: String? = null
    @XmlTagName("jyjgbh")
    var jyjgbh: String? = null
    @XmlTagName("wjdh")
    var wjdh: String? = null
    @XmlTagName("hphm")
    var hphm: String? = null
    @XmlTagName("cpys")
    var cpys: String? = null
    @XmlTagName("hpzl")
    var hpzl: String? = null
    @XmlTagName("cjh")
    var cjh: String? = null
    @XmlTagName("fdjbh")
    var fdjbh: String? = null
    @XmlTagName("cllx")
    var cllx: String? = null
    @XmlTagName("syxz")
    var syxz: String? = null
    @XmlTagName("ccdjrq")
    var ccdjrq: String? = null
    @XmlTagName("sfmj")
    var sfmj: String? = null
    @XmlTagName("jczq")
    var jczq: String? = null
    @XmlTagName("xslcds")
    var xslcds: String? = null
    @XmlTagName("czxm")
    var czxm: String? = null
    @XmlTagName("czdh")
    var czdh: String? = null
    @XmlTagName("czdz")
    var czdz: String? = null
    @XmlTagName("clxh")
    var clxh: String? = null
    @XmlTagName("fdjxh")
    var fdjxh: String? = null
    @XmlTagName("pfbz")
    var pfbz: String? = null
    @XmlTagName("bsxxs")
    var bsxxs: String? = null
    @XmlTagName("jqfs")
    var jqfs: String? = null
    @XmlTagName("fdjpl")
    var fdjpl: String? = null
    @XmlTagName("rlzl")
    var rlzl: String? = null
    @XmlTagName("gyfs")
    var gyfs: String? = null
    @XmlTagName("fdjedzs")
    var fdjedzs: String? = null
    @XmlTagName("fdjedgl")
    var fdjedgl: String? = null
    @XmlTagName("qdfs")
    var qdfs: String? = null
    @XmlTagName("zdzzl")
    var zdzzl: String? = null
    @XmlTagName("jzzl")
    var jzzl: String? = null
    @XmlTagName("qgs")
    var qgs: String? = null
    @XmlTagName("erg")
    var erg: String? = null
    @XmlTagName("ryzfkzzz")
    var ryzfkzzz: String? = null
    @XmlTagName("hzclzz")
    var hzclzz: String? = null
    @XmlTagName("hclzl")
    var hclzl: String? = null
    @XmlTagName("sfyjhzz")
    var sfyjhzz: String? = null
    @XmlTagName("sfdk")
    var sfdk: String? = null
    @XmlTagName("sfyobd")
    var sfyobd: String? = null
    @XmlTagName("obdtxsfzc")
    var obdtxsfzc: String? = null
    @XmlTagName("obdjcsfgz")
    var obdjcsfgz: String? = null
    @XmlTagName("obdgzm")
    var obdgzm: String? = null
    @XmlTagName("zxxtsfzc")
    var zxxtsfzc: String? = null
    @XmlTagName("pqxtsfxl")
    var pqxtsfxl: String? = null
    @XmlTagName("jcsfly")
    var jcsfly: String? = null
    @XmlTagName("sfgbtszz")
    var sfgbtszz: String? = null
    @XmlTagName("wgjcjg")
    var wgjcjg: String? = null

    init {
        //服务器返回的检测车辆的参数
        this.xzqhdm = carInfo.xzqhdm
        this.jyjgbh = carInfo.jczbh
        this.wjdh = carInfo.wjdh
        this.hphm = carInfo.hphm
        this.cpys = carInfo.cpys
        this.hpzl = Setting.LICENSE_PLATE_TYPE[carInfo.hpzl]
        this.cjh = carInfo.cjh
        this.fdjbh = carInfo.fdjbh
        this.cllx = Setting.CAR_TYPE[carInfo.cllx]
        this.syxz = Setting.USE_NATURE[carInfo.syxz]
        this.ccdjrq = carInfo.ccdjrq
        this.czxm = carInfo.czmc
        this.czdh = carInfo.lxdh
        this.czdz = carInfo.lxdz
        this.clxh = carInfo.clxh
        this.fdjxh = carInfo.fdjxh
        this.pfbz = carInfo.hbpfbz
        this.bsxxs = carInfo.bsqxs
        this.jqfs = carInfo.jqfs
        this.fdjpl = carInfo.fdjpl
        this.gyfs = carInfo.ryxs
        this.fdjedzs = carInfo.fdjedzs
        this.fdjedgl = carInfo.fdjedgl
        this.qdfs = carInfo.qdfs
        this.zdzzl = carInfo.zdzzl
        this.jzzl = carInfo.jzzl
        this.qgs = carInfo.qgs
        this.erg = carInfo.erg
        this.ryzfkzzz = carInfo.ryzfkzzz
        this.hzclzz = carInfo.pqhclzz
        this.hclzl = carInfo.hclzl
        this.sfyjhzz = carInfo.jhzz
        this.sfyobd = carInfo.obd
        this.xslcds = carInfo.ljxslc


        //需要用户手动填写的参数
        this.jczq = checkInfo.jczq
        this.sfdk = checkInfo.sfdk
        this.sfmj = checkInfo.sfmj
        this.rlzl = checkInfo.rlzl
        this.obdtxsfzc = checkInfo.obdtxsfzc
        this.obdjcsfgz = checkInfo.obdjcsfgz
        this.obdgzm = checkInfo.obdgzm
        this.zxxtsfzc = checkInfo.zxxtsfzc
        this.pqxtsfxl = checkInfo.pqxtsfxl
        this.jcsfly = checkInfo.jcsfly
        this.sfgbtszz = checkInfo.sfgbtszz
        this.wgjcjg = checkInfo.wgjcjg
    }
}
